<template>
  <section class="titlebox">
    <div class="center">
        安全教育学习平台
    </div>
  </section>
</template>

<script>
export default {

}
</script>

<style lang="scss" scoped>
$--color: #ffd700;
$--line-width: 100px;
.titlebox {
    position: relative;
    height: 150px;
    background-color: var(--color-primary);
    border-radius: 10px;
    margin: 15px 0;
    &>div {
        color: $--color;
        font-size: 30px;
        font-family: '华文新魏';
        &::before,
        &::after {
            position: absolute;
            content: '';
            width: $--line-width;
            height: 2px;
            top: 50%;
            transform: translateY(-50%);
            background-color: $--color;
        }
        &::before {
            left: -($--line-width);
        }
        &::after {
            right: -($--line-width);
        }
    }
}
</style>